package executor.register.transport;

import java.util.Map;

/**
 * 通信层
 */
import cn.hutool.http.HttpRequest;
import cn.hutool.http.HttpResponse;


public class HttpTransport {

    public static String post(String url, Map<String, Object> paramMap,String cookie) {
        HttpResponse response = HttpRequest.post(url)
                .form(paramMap)
                .cookie(cookie)
                .execute();

        return response.body();
    }
}
